home *** CD-ROM | disk | FTP | other *** search
/ Adobe Graphics & Publishing SDK 1996 December / Adobe Graphics & Publishing SDK 1996 December.iso / pc / pm65sdk / sourcecode / pagemakerclasslibrary / queries / pgetruleoptions.cpp < prev    next >
C/C++ Source or Header  |  1996-08-15  |  741b  |  30 lines

  1. /*
  2.  *--- PGetRuleOptions.cpp -------------------------------------------------
  3.  * Copyright (c) 1995-96 Adobe Systems Incorporated.  All rights reserved.
  4.  * Created on Sun, Oct 22, 1995 @ 4:49 PM by Paul Ferguson.
  5.  *
  6.  * Description:  For notes about this class, refer to the
  7.  * PCL documentation file PGetRuleOptions.html
  8.  *-------------------------------------------------------------------------
  9.  */
  10.  
  11. #include "PGetRuleOptions.h"
  12. #include "PQuery.h"
  13. #include "PReplyBuf.h"
  14.  
  15. PGetRuleOptions::PGetRuleOptions()
  16. {
  17.     char temp[16];
  18.     
  19.     PQuery query(pm_getruleoptions, temp, 12);
  20.  
  21.     PReplyBuf reply(temp);
  22.     
  23.     reply    >> nTopOffset
  24.             >> nBottomOffset
  25.             >> bAlignToGrid
  26.             >> nGridSize;
  27. }
  28.  
  29. // end of PGetRuleOptions.cpp
  30.